package com.yg.entity.singleEntity;

import com.alibaba.excel.annotation.format.DateTimeFormat;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 对应sheet01，此表是教师学历表
 注意！此表的id和教师表的id是同一个id
 * </p>
 *
 * @author YingGu
 * @since 2020-11-04
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="TeacherEducation对象", description="对应sheet01，此表是教师学历表注意！此表的id和教师表的id是同一个id")
public class TeacherEducation implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "学历提升id")
    @TableId(value = "id", type = IdType.ID_WORKER_STR)
    private String id;

    @ApiModelProperty(value = "最高学历，参考字典表")
    private String education;

    @ApiModelProperty(value = "最高学位，参考字典表")
    private String degree;

    @ApiModelProperty(value = "最高学位获得时间")
    @DateTimeFormat("yyyy-MM-dd")
    private String degreeTime;

    @ApiModelProperty(value = "最高学位获得单位")
    private String degreeUnit;

    @ApiModelProperty(value = "最后专业或研究方向")
    private String professional;

    @ApiModelProperty(value = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    private Date gmtCreate;

    @ApiModelProperty(value = "修改时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date gmtModified;


}
